package com.lyy.lottery.service;

import com.lyy.lottery.controller.param.UserLoginParam;
import com.lyy.lottery.controller.param.UserRegisterParam;
import com.lyy.lottery.service.dto.UserDTO;
import com.lyy.lottery.service.dto.UserLoginDTO;
import com.lyy.lottery.service.dto.UserRegisterDTO;
import com.lyy.lottery.service.enums.UserIdentityEnum;

import java.util.List;

public interface UserService {

    //注册用户
    UserRegisterDTO register(UserRegisterParam param);

    //用户登录（密码/验证码）
    UserLoginDTO login(UserLoginParam param);

    //获取用户列表
    List<UserDTO> findUserInfo(UserIdentityEnum userIdentityEnum);
}
